package com.zdd.ehe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;
import java.time.Year;

/**
 * @version 1.0.0
 * @title: Produce
 * @author: HFLy
 * @description:
 * @date: 6/3/2023 下午1:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_produce_data")
public class Produce {
    @TableId(type = IdType.AUTO)
    private Integer produceId;
    //作物名称
    private String type;
    //播种面积（千公顷）
    private Float area;
    //产量（万吨）
    private Float produce;
    //年份
    private Year year;

    //销售量
    private Float saleVolume;

}
